package cn.zzp.order.service;

import cn.zzp.basic.service.BaseService;
import cn.zzp.basic.util.PageList;
import cn.zzp.order.domain.OrderPetAcquisition;
import cn.zzp.order.dto.OrderDto;
import cn.zzp.order.query.OrderPetAcquisitionQuery;

/**
 * @ClassName OrderPetAcquisitionService
 * @Description
 * @Author 祝志鹏
 * @Date 2022/8/11 11:58
 */
public interface OrderPetAcquisitionService extends BaseService<OrderPetAcquisition> {


    PageList<OrderPetAcquisition> pageQuery(OrderPetAcquisitionQuery query, Long id);

    /**
     * 订单确认
     * @param orderDto
     */
    void confirm(OrderDto orderDto);

    /**
     * 取消订单
     * @param id
     */
    void cancel(Long id);
}


